class Shield {
  num? raw;
  num? total;
  List<Rows>? rows;

  Shield({this.raw, this.total, this.rows});

  Shield.fromJson(Map<String, dynamic> json) {
    raw = json['raw'];
    total = json['total'];
    if (json['rows'] != null) {
      rows = <Rows>[];
      json['rows'].forEach((v) {
        rows!.add(new Rows.fromJson(v));
      });
    }
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['raw'] = this.raw;
    data['total'] = this.total;
    if (this.rows != null) {
      data['rows'] = this.rows!.map((v) => v.toJson()).toList();
    }
    return data;
  }
}

class Rows {
  dynamic searchValue;
  String? createTime;
  String? updateTime;
  num? projectId;
  String? projectNo;
  num? membersId;
  String? membersNo;
  String? membersName;
  String? memberImage;
  num? serviceId;
  String? serviceName;
  String? readFlag;
  String? imagePath;
  String? projectState;
  String? auditState;
  bool? quote;
  num? version;

  Rows(
      {this.searchValue,
        this.createTime,
        this.updateTime,
        this.projectId,
        this.projectNo,
        this.membersId,
        this.membersNo,
        this.membersName,
        this.memberImage,
        this.serviceId,
        this.serviceName,
        this.readFlag,
        this.imagePath,
        this.projectState,
        this.auditState,
        this.quote,
        this.version});

  Rows.fromJson(Map<String, dynamic> json) {
    searchValue = json['searchValue'];
    createTime = json['createTime'];
    updateTime = json['updateTime'];
    projectId = json['projectId'];
    projectNo = json['projectNo'];
    membersId = json['membersId'];
    membersNo = json['membersNo'];
    membersName = json['membersName'];
    memberImage = json['memberImage'];
    serviceId = json['serviceId'];
    serviceName = json['serviceName'];
    readFlag = json['readFlag'];
    imagePath = json['imagePath'];
    projectState = json['projectState'];
    auditState = json['auditState'];
    quote = json['quote'];
    version = json['version'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['searchValue'] = this.searchValue;
    data['createTime'] = this.createTime;
    data['updateTime'] = this.updateTime;
    data['projectId'] = this.projectId;
    data['projectNo'] = this.projectNo;
    data['membersId'] = this.membersId;
    data['membersNo'] = this.membersNo;
    data['membersName'] = this.membersName;
    data['memberImage'] = this.memberImage;
    data['serviceId'] = this.serviceId;
    data['serviceName'] = this.serviceName;
    data['readFlag'] = this.readFlag;
    data['imagePath'] = this.imagePath;
    data['projectState'] = this.projectState;
    data['auditState'] = this.auditState;
    data['version'] = this.version;
    return data;
  }
}